﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Serenity.Venus.Common.Dto
{
    public class @Model.name
    {
        @foreach (var field in Model.fields)
        {
            <text>
		@if(field.requird){
        @:[Required]
        }
        public @field.properyType @field.name { get; set; }
            </text>
        }
    }
}
